package com.example.pilipili.dao;

import com.example.pilipili.pojo.dto.UInfo;
import com.example.pilipili.pojo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liyv
 * @since 2023-12-01
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where id=#{id}")
    UInfo selectInfoById(@Param("id") int id) ;



}
